Fix valgrind warning about uninitialized value
authorCarlos Garnacho <carlosg@gnome.org>
Sun, 23 Jan 2011 22:09:58 +0000 (23:09 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Sun, 23 Jan 2011 22:14:53 +0000 (23:14 +0100)
commitb2b73a349eb8a99d533080344f835830b788e7cf
tree4f4c60f82ae7a015ab7535339ae8bcdcf69b8097
parent51290e0a57ec10ad966cf2e1a17b90d66eb330ea
Fix valgrind warning about uninitialized value

mods_state->effective is not being set in XIQueryPointer() currently, so
use base|latched|locked instead, effective is nothing else than a shorthand
for these ORs, and these 3 values are set correctly anytime.
gdk/x11/gdkdevice-xi2.c